package com.i77studio.mapper;

import com.i77studio.entity.User;

import java.util.List;

public interface UserMapper {
    List<User> selectAll();

    int deleteById(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectById(Integer id);

    List<User> selectByUserName(String username);

    int updateByIdSelective(User record);

    int updateById(User record);

    int getCurrentMaxId();
}